@{
    ViewData["Title"] = "创建投票";
}

<div class="container">
    <div class="row mb-4">
        <div class="col">
            <h2>创建新投票</h2>
        </div>
    </div>

    <div id="app">
        <create-vote></create-vote>
    </div>
</div>

@section Scripts {
    <script>
        // 确保Vue组件已经加载
        document.addEventListener('DOMContentLoaded', function() {
            if (typeof app !== 'undefined') {
                console.log('Vue应用已加载');
            }
        });
    </script>
} 